﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" 
    xmlns:n="http://nRoute/schemas/2010/xaml"
	x:Class="nRoute.Samples.OfficerXcel.Views.PrintDialog"
	d:DesignWidth="370" d:DesignHeight="680">

	<Border x:Name="LayoutRoot" Padding="10,0">
        
		<Grid HorizontalAlignment="Left" Width="350">
			<Path Fill="#FFFFFFFF" Stretch="Fill" Stroke="#FFC3C3C3" Height="1" Margin="7,30.664,5,0" 
                  VerticalAlignment="Top" UseLayoutRounding="False" Data="M0,30 L587,30" StrokeDashOffset="39" StrokeDashArray="2 2"/>
			<TextBlock Height="Auto" Margin="7,9,0,0" VerticalAlignment="Top" Text="Print Document" 
                       TextWrapping="NoWrap" FontFamily="Arial" FontSize="14" HorizontalAlignment="Left" FontWeight="Bold"/>
            
			<StackPanel ScrollViewer.VerticalScrollBarVisibility="Auto" Margin="0,32,0,2">
            
				<Button VerticalAlignment="Bottom" Margin="5" Style="{StaticResource PrintButtonTemplate}"
                        >
					<i:Interaction.Triggers>
						<i:EventTrigger EventName="Click">
							<n:ExecuteControllerAction Url="Shell/ShowBallon/PrintDocument"/>
						</i:EventTrigger>
					</i:Interaction.Triggers>
					<Grid Height="55">
						<TextBlock Height="Auto" HorizontalAlignment="Left" Margin="76,6,0,0" VerticalAlignment="Top" 
							FontFamily="Arial" FontSize="16" Text="Print" TextWrapping="NoWrap"/>
						<TextBlock Height="Auto" HorizontalAlignment="Left" Margin="76,24,0,0" FontSize="10.667" 
							TextWrapping="Wrap" Width="230" Foreground="#FF5F5F5F" VerticalAlignment="Top" 
							Text="This prints the document or something like that"/>
						<Image HorizontalAlignment="Left" Width="48" Source="../Icons/Print.png" Stretch="None" 
							VerticalAlignment="Top" Margin="9,2,0,0"/>
					</Grid>
				</Button>
                
				<Path Fill="#FFFFFFFF" Stretch="Uniform" Stroke="#FFC3C3C3" Height="1" Margin="6,0,6,0" 
					UseLayoutRounding="False" Data="M0,30 L587,30" Width="335"
					StrokeDashOffset="39" StrokeDashArray="2 2" HorizontalAlignment="Center"/>
                
				<Button VerticalAlignment="Bottom" Margin="5" Style="{StaticResource PrintButtonTemplate}"
                                 >
					<i:Interaction.Triggers>
						<i:EventTrigger EventName="Click">
							<n:ExecuteControllerAction Url="Shell/ShowBallon/EmailDocument"/>
						</i:EventTrigger>
					</i:Interaction.Triggers>
					<Grid Height="55"  d:IsLocked="True">
						<TextBlock Height="Auto" HorizontalAlignment="Left" Margin="76,6,0,0" VerticalAlignment="Top" 
							FontFamily="Arial" FontSize="16" Text="E-Mail" TextWrapping="NoWrap"/>
						<TextBlock Height="Auto" HorizontalAlignment="Left" Margin="76,24,0,0" FontSize="10.667" 
							TextWrapping="Wrap" Width="230" Foreground="#FF5F5F5F" VerticalAlignment="Top" 
							Text="This e-mails the document or something like that"/>
						<Image HorizontalAlignment="Left" Width="48" Source="../Icons/EMail.png" Stretch="None" 
							VerticalAlignment="Top" OpacityMask="{x:Null}" Margin="9,2,0,0"/>
					</Grid>
				</Button>

				<Path Fill="#FFFFFFFF" Stretch="Uniform" Stroke="#FFC3C3C3" Height="1" Margin="6,0,6,0" 
					UseLayoutRounding="False" Data="M0,30 L587,30" Width="335"
					StrokeDashOffset="39" StrokeDashArray="2 2" HorizontalAlignment="Center"/>

			</StackPanel>
			<Path Stretch="Fill" HorizontalAlignment="Right" Margin="0,0,-8,0" 
				Width="1" UseLayoutRounding="False" Data="M373,10 L373,656.02789">
				<Path.Stroke>
					<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
						<GradientStop Color="Transparent"/>
						<GradientStop Color="Transparent" Offset="1"/>
						<GradientStop Color="#FFCDCDCD" Offset="0.95"/>
						<GradientStop Color="#FFCDCDCD" Offset="0.05"/>
					</LinearGradientBrush>
				</Path.Stroke>
			</Path>

        </Grid>
	</Border>
</UserControl>